home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
prog
/
cfuncs.zip
/
FUNCS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-17
|
3KB
|
68 lines
typedef struct FrameDataType
{
int X; /* Upper left corner X */
int Y; /* Upper left corner Y */
char F; /* Frame ForeGround */
char B; /* Frame BackGround */
int L; /* Frame length or depth */
int W; /* Frame Width */
int BorderType; /* 0 = ══ border */
/* 1 = ── border */
/* 2 = ═ top, │ sides */
/* 3 = ─ top, ║ sides */
/* 4 = plain border */
int clear; /* 0 = clear text after printing */
/* 1 = don't clear after printing */
/* 0 or 1 + 10 - no shadow */
/* 2 = initialize text vars without printing */
char *txt[25]; /* text for window */
} FrameDataType;
char AddAppend(const char *file);
blanks(char *string);
int CheckNum(const char *Number);
int CkBeep(int verdict);
int ConvertDate(void *dest_date, void *src_date, int dest_format, int src_format);
dwedit(const char *filename, char action, int width1, int width2, int length,
int (*fcheck1) (const char *), int (*fcheck2) (const char *));
wedit(const char *filename, int width, int length, int (*fcheck) (const char *));
FileExists(const char *filename);
int DriveReady( char d);
finddate(void *the_date, int ReturnFormat, int IncomingFormat, char *prompt);
void Frame(FrameDataType *Fr);
unsigned int GetCursor(void);
getrange(char *prompt, int total, int *start, int *stop);
void inout(int X, int Y, int len, int FG, int BG, void *Data, int Mode,
int Type, int show, char *vkey, int *ret);
char *ltrim(char *string);
char message(int recover, char *format, ... );
char *MidStr(char *dest, const char *src, int n);
void NewClear(int foreground, int background);
void OffCursor();
void OnCursor();
char *rtrim(char *string);
char select(int X, int Y, int TotChoices, char *choices, char *Text[],
int TextColor, int BGcolor, int BarColor,
int BarTextColor, int Abort, char defalt);
void SetCursor(unsigned int shape);
char *strnchr(char *string, int ch, int len);
char *strspc(char *string, int len);
void Beep( int frequency, int duration );
void Sleep(long microsecs);
void ShowClock(void);
void ShowDate(void);
char GetIdleCh(void);
void nothing(void);
void WriteAt( int X, int Y, int fore, int back, char *format, ... );
void Write(char *format, ...);
void WriteDS(char *format, ...);
char *add_comma(double x, int dec, int dolsign);
/*
char *fgetln(char *dest, FILE *fp);
void HugeQsort(void huge *base, size_t nelem, size_t width, int (*fcmp)
(const void huge *, const void huge *));
void huge *HugeBsearch(const void *key, const void huge *base, size_t nelem,
size_t width, int (*fcmp)(const huge void*, const void*));
*/